import request from "@/utils/request";

// 根据建筑获取模型位置列表 错误码 200300
export function get3Dlist(params) {
  return request({
    url: "/architecture/facilities/getArchitectureModelList",
    method: "get",
    params,
  });
}

// 根据模型id获取设备列表  错误码 200301
export function getEquipmentlist(params) {
  return request({
    url: "/architecture/facilities/getDeviceArchiveListByModel",
    method: "get",
    params,
  });
}

// 绑定 / 绑定 设备3d位置 错误码 200302
export function putEquipment(data) {
  return request({
    url: "/device/archive/bindingModel",
    method: "put",
    data,
  });
}

